﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Script.Serialization;
using Easy.Operation;



namespace Easy.Web.Service.Entity
{
    /// <summary>
    /// DeleteAttribute 的摘要说明
    /// </summary>
    public class DeleteAttribute : IHttpHandler
    {
        
        public void ProcessRequest(HttpContext context)
        {
            
               context.Response.ContentType = "text/plain";
               string AttributeName = context.Request["AttributeName"];
               string EntityName = context.Request["EntityName"];
               string type = context.Request["type"];
               bool isDeleteAttribute = EntitySetting_Function.isDeleteAttribute(AttributeName, EntityName, type);
               context.Response.Write(isDeleteAttribute);
               
           }

         
        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
    
}